package com.CST.service.cb;

import com.CST.common.api.Response;
import com.CST.dto.cb.BdPerformanceDTO;
import com.CST.entity.cb.BdDepartment;
import com.CST.entity.cb.BdPerformance;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author qtx
 * @since 2023-05-16
 */
public interface IBdPerformanceService extends IService<BdPerformance> {
    Response addPerformance(BdPerformance entity);

    Response batchDeletePerformance(List<Integer> ids);

    Response  modifyPerformance(BdPerformance entity);

    IPage<BdPerformance> getBdPerformance(BdPerformanceDTO bdPerformanceDTO);

    List<BdDepartment> getDepartmentSourceWithPerformance();
    List<BdDepartment>   getDeptCodeBdDepartments  ();
}
